package zzg.study.protocol.request;

import lombok.Data;
import lombok.EqualsAndHashCode;
import zzg.study.protocol.Packet;

import static zzg.study.protocol.command.Command.JOIN_GROUP_REQUEST;

/**
 * @Classname JoinGroupRequestPacket
 * @Description 加入群聊packet
 * @Date 2023/12/9 22:16
 * @Author zhuzhenguo
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class JoinGroupRequestPacket extends Packet {

    private String groupId;

    @Override
    public Byte getCommand() {

        return JOIN_GROUP_REQUEST;
    }
}